package com.insideClass;


import java.util.*;

class Snow{}
class Powder extends Snow{

}
class Light extends Powder{

}
class Heavy extends  Powder{

}
class Crusty extends Snow{

}
class Slush extends Snow{

}
/**
 * @author 13699
 */

public class AsListInference {
    public static void main(String[] args) {
        List<Snow> snow1=Arrays.asList(new Crusty(),new Slush(),new Powder());
        List<Snow> snows3=new ArrayList<>();
        Collections.addAll(snows3,new Light(),new Heavy());
        List<Snow>  snow4=Arrays.asList(new Light(),new Heavy());
    }
}
